home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 11 / Cream of the Crop 11-1.iso / compress / gnucpio.zip / CHANGELO < prev    next >
Text File  |  1995-12-20  |  36KB  |  954 lines

  1. Wed Dec 20 10:52:56 1995  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  2.     * rmt.c:  Added temporary kludge so make rmt will work on Linux.
  3.     * configure.in:  Only define HAVE_UTIME_H if utime.h declares
  4.     struct utimbuf.
  5.     * Makefile.in:  Change prefix, exec_prefix and bindir to get their
  6.     values from configure.  Added cpio.info to DISTFILES.
  7.     * cpio.texi:  Added INFO-DIR-ENTRY.
  8.     * Version 2.4.1 released.
  9.  
  10. Wed Nov 22 19:37:05 1995  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  11.         * cpio.texi:  Updated release date and FSF's address.
  12.         * NEWS: Listed major new features for 2.4.
  13.     * mt.c, mt.1: Added seek and fsfm commands.
  14.     * Version 2.4 released.
  15.  
  16. Tue Jun 27 19:14:27 1995  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  17.         * configure.in: fixed for new autoconf.  Added check to make
  18.     sure fnmatch() works.
  19.         * Makefile.in: changed realclean to maintainer-clean.  Added
  20.     support to handle fnmatch separate from other LIBOBJS.
  21.         * cpio.texi:  More changes for 2.4.
  22.  
  23. Wed Dec 14 16:14:27 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  24.     * copypass.h:  When given the -a option, set the access time of
  25.     the copy to be the access time of the original (instead of the
  26.     modification time of the original).  Reported by
  27.     karney@pppl.gov (Charles Karney).
  28.     * cpio.texi:  Updated with changes for 2.4.
  29.  
  30. Wed Nov  3 18:18:07 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  31.     * safe-stat.h, Makefile.in:  New file used by mkdir.c.  This will go
  32.     away when we get the real safe-xstat.[ch]in for mkdir.c.
  33.     * main.c:  Don't mention [--null] twice in -p's usage message.
  34.     Changed --no-absolute-paths to --no-absolute-filenames.
  35.     * cpio.1:  Updated man page with new features.
  36.     * cpio.texi, texinfo.tex, Makefile.in:  Added texi documentation
  37.     from Robert Carleton (rbc@gnu.ai.mit.edu).
  38.  
  39. Mon Oct  3 00:46:30 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  40.     * makefile.pc, system.h:  Changes to compile with Borland C++ 4.0.
  41.  
  42. Thu Sep 29 22:15:50 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  43.     * makepath.c: Don't #define index if it is already #defined.
  44.  
  45.     * mt.c:  Check for __hpux defined instead of __hpux__.  Reported
  46.     by ericb@lsid.hp.com (Eric Backus).
  47.  
  48. Thu Sep 29 11:21:31 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  49.     * extern.h, util.c, copyout.c, copypass.c, main.c, global.c:
  50.     Never mind --ignore-disk-input-errors flag, we'll just always
  51.     do that, like tar.
  52.  
  53.     * global.c, extern.h, main.c, copyin.c, copyout.c, copypass.c:
  54.     Added --quiet flag to supress printing number of blocks copied.
  55.  
  56.     * global.c, extern.h:  If compiled with gcc, make input_bytes
  57.     and output_bytes `long long' instead of `long'.  We need more
  58.     than 32 bits to keep track of the number of bytes copied to
  59.     and from tape drives that hold more than 4Gbytes.
  60.  
  61.     * util.c, copyin.c, main.c, global.c, extern.h:  Added
  62.     --only-verify-crc flag to read a CRC format archive and verify
  63.     its contents' CRCs.
  64.  
  65.     * copyout.c:  Fixed problem with creating oldc format archives
  66.     on machines with 16 bit ints.  Reported by mpoole@cix.compulink.co.uk
  67.     (Martin Poole).
  68.  
  69.     * mt.c: Need to open tape WR_ONLY for erase command (and probably
  70.     others?).  Reported by robert@hst.e.technik.uni-kl.de (Robert
  71.     Vogelgesan).  Accept `eject' as a synonym for `offline'.  Accept
  72.     `-t' as a synonym for `-f' (to be compatible with HPUX mt, which 
  73.     only accepts `-t').
  74.  
  75. Wed Sep 28 12:01:55 1994  John Oleynick  (juo@wombat.gnu.ai.mit.edu)
  76.     * extern.h, global.c, main.c, util.c: only write sparse files
  77.     when given --sparse flag.
  78.     * extern.h, util.c, copyout.c, copypass.c, main.c, global.c:
  79.     Added support for --ignore-disk-input-errors flag.
  80.  
  81. Wed Aug 24 12:55:38 1994  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  82.  
  83.     * configure.in: Replace calls to AC_REMOTE_TAPE and AC_RSH
  84.     with equivalent code, since those macros are going away.
  85.  
  86. Sun Feb 13 00:56:48 1994  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  87.     * extern.h, global.c, main.c, util.c:  Added code to 
  88.     tape_buffered_peek() to properly handle large, corrutped 
  89.     archives, without overrunning the allocated buffer and
  90.     dumping core.  Also changed the way the input and output 
  91.     buffers are allocated in initialize_buffers().
  92.     
  93. Tue Jan 25 01:04:32 1994  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  94.     * copyin.c, copyout.c, copypass.c, extern.h, main.c, tar.c, util.c:
  95.     Redid i/o buffer code.  Previously, the same routines buffered input and
  96.     output for accessing the archive and the filesystem.  Now there are
  97.     separate routines for buffering input and output and for buffering the
  98.     archive and the filesystem.  This simplifies much of the buffer code
  99.     (e.g., only input from the archive has to check for end of tape and
  100.     allow the tape to be changed, only output to the filesystem has to
  101.     handle byte and word swapping, etc.; previously one routine had to
  102.     handle all of these special cases) This is how the routines got split
  103.     and renamed (old name -> new name):
  104.  
  105.         clear_rest_of_block -> tape_clear_rest_of_block
  106.         copy_files -> copy_files_tape_to_disk
  107.             "      -> copy_files_disk_to_disk
  108.             "      -> copy_files_disk_to_tape
  109.         copy_buf_out -> disk_buffered_write
  110.             "        -> tape_buffered_write
  111.         copy_in_buf -> tape_buffered_read
  112.         empty_output_buffer -> tape_empty_output_buffer
  113.             "               -> disk_empty_output_buffer
  114.         fill_input_buffer -> tape_fill_input_buffer
  115.             "             -> disk_fill_input_buffer
  116.         pad_output -> tape_pad_output
  117.         peek_in_buf -> tape_buffered_peek
  118.         skip_padding -> tape_skip_padding
  119.         toss_input -> tape_toss_input
  120.  
  121.     * extern.h, global.c, main.c, util.c:  Added support for
  122.     writing sparse files.
  123.  
  124. Tue Dec 28 23:01:36 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  125.     * util.c, system.h, makepath.c, extern.h: don't define chown() 
  126.     and don't typedef uid_t and gid_t if we are being compiled
  127.     by DJGPP.
  128.  
  129.     * copyin.c, extern.h, global.c, main.c:  Added support for
  130.     --rename-batch-file.
  131.     
  132.     * copyin.c, copyout.c, extern.h:  Cleaned up to pass gcc -Wall.
  133.  
  134. Wed Dec 22 02:17:44 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  135.  
  136.     * makepath.c, copypass.c, copyin.c:  If cpio was creating a
  137.     directory that contained `.' in the pathname (e.g. `foo/./bar'),
  138.     it would complain that it could not create `.', since it already
  139.     exists.  From schwab@issan.informatik.uni-dortmund.de (Andreas
  140.     Schwab).
  141.  
  142.     * mt.c:  Added "eject" as a synonym for "offline".
  143.  
  144.     * util.c:  Slight modification to when we lseek with
  145.     BROKEN_LONG_TAPE_DRIVER (do it every 1Gb, instead 
  146.     of every 2Gb).
  147.  
  148.     * copyin.c, global.c, extern.h:  Added --no-absolute-paths option, 
  149.     to ignore absolute paths in archives.
  150.  
  151. Tue Dec 21 01:30:59 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  152.  
  153.     * util.c:  Fix for copying new_media_message_after_number.  From
  154.     Christian.Kuehnke@arbi.informatik.uni-oldenburg.de (Christian
  155.     Kuehnke).
  156.  
  157. Thu Jul 29 20:35:57 1993  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  158.  
  159.     * Makefile.in (config.status): Run config.status --recheck, not
  160.     configure, to get the right args passed.
  161.  
  162. Mon Jul 19 23:01:00 1993  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  163.  
  164.     * Makefile.in (libdir): Use standard GNU value --
  165.     $(exec_prefix)/lib, not /etc.
  166.     (.c.o): Put CFLAGS last.
  167.  
  168. Thu Jul  8 19:43:39 1993  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  169.  
  170.     * Makefile.in: Add rules for remaking Makefile, configure,
  171.     config.status. 
  172.  
  173. Mon Jul  5 14:54:08 1993  John Oleynick  (juo@spiff.gnu.ai.mit.edu)
  174.  
  175.     * cpio.1:  Updated man page for 2.3.
  176.     * Makefile.in:  Create distribution with .gz extension, instead of .z.
  177.  
  178. Tue Jun 29 18:54:37 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  179.  
  180.     * Makefile.in: Added installdirs target (using mkinstalldirs).
  181.     * Added mkinstalldirs script.
  182.     * main.c, mt.c:  Added --help option.  Changed usage() to
  183.     take a stream and exit value (so --help can print on stdout
  184.     and return a 0 exit status).
  185.     * extern.h:  Removed usage()'s prototype (it was out of date,
  186.     and only used in main.c).
  187.  
  188. Thu May  6 00:22:22 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  189.  
  190.     * cpio.1:  Added hpbin and hpodc.
  191.  
  192. Tue May  4 00:32:29 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  193.  
  194.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):  When
  195.     deleting an existing file, if the file is a directory, use rmdir()
  196.     instead of unlink().
  197.  
  198. Thu Apr 29 14:43:56 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  199.  
  200.     * tar.c (read_in_tar_header):  Clear non-protection bits from
  201.     mode, in case tar has left some device bits in there.
  202.  
  203. Wed Apr 28 10:36:53 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  204.  
  205.     * util.c: Added code to try and work around broken tape drivers
  206.     that have problems with tapes > 2Gb.
  207.  
  208.     * copyout.c (process_copy_out): Pass file_hdr to 
  209.     writeout_other_defers() and add_link_defer() by reference, 
  210.     not by value.
  211.  
  212.     * copyin.c (process_copy_in): Pass file_hdr to defer_copyin()
  213.     and create_defered_links() by reference, not by value.
  214.  
  215.     * defer.c: include <sys/types.h> (to build on BSD 4.3 on HP300)
  216.  
  217. Fri Apr 16 18:01:17 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  218.  
  219.     * mt.c, util.c: Include <sys/mtio.h> if HAVE_SYS_MTIO_H is 
  220.     defined, not HAVE_MTIO_H.
  221.  
  222. Wed Apr 14 17:37:46 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  223.  
  224.     * util.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H
  225.     is defined.
  226.  
  227.     * mt.c: Only include <sys/mtio.h> if HAVE_SYS_MTIO_H is defined.
  228.  
  229. Fri Apr  2 13:09:11 1993  John Oleynick  (juo@goldman.gnu.ai.mit.edu)
  230.  
  231.     * configure.in: Added fnmatch to AC_REPLACE_FUNCS.  Added
  232.     sys/io/trioctl.h to AC_HAVE_HEADERS.
  233.  
  234.     * Makefile.in: Removed fnmatch.o from OBJS.
  235.  
  236.     * copyin.c: Only include "fnmatch.h" if FNM_PATHNAME isn't
  237.     defined yet.
  238.  
  239.     * mt.c: Include <sys/io/trioctl.h> if HAVE_SYS_IO_TRIOCTL_H is
  240.     defined.
  241.  
  242. Mon Mar 29 17:04:06 1993  John Oleynick  (juo@hal.gnu.ai.mit.edu)
  243.  
  244.     * Many changes for supporting HPUX Context Dependent Files;
  245.     also some bug fixes to fix problems with multiply (hard) linked
  246.     device files; minor changes to support HPUX format archives
  247.     (slightly broken?) System V.4 posix tar archives and HPUX
  248.     posix tar archives.
  249.  
  250.     * Makefile.in: New files defer.o, defer,c and defer.h; added
  251.     -DSYMLINK_USES_UMASK and -DHPUX_CDF comments; changed dist rule
  252.     to use gzip with tar, instead of compress.
  253.  
  254.     * copyin.c: changes for new arf_hpbinary and arf_hpascii formats;
  255.     HPUX CDF's; DEBUG_CPIO; fixes to properly handle multiple
  256.     links in newc and crc format archives (new routines defer_copyin(),
  257.     create_defered_links(), create_final_defers()); move most
  258.     multiple (hard) link code to new routines link_name() and
  259.     link_to_maj_min_ino(); use new macro UMASKED_SYMLINK instead of
  260.     symlink().
  261.  
  262.     * copyout.c: fixes to properly handle multiple links in newc
  263.     and crc format archives (new routines last_link(), 
  264.     count_defered_links_to_dev_ino(), add_link_defer(),
  265.     writeout_other_defers(), writeout_final_defers(),
  266.     writeout_defered_file()); support for new arf_hpbinary and
  267.     arf_hpascii formats; support for HPUX CDF's.
  268.  
  269.     * copypass.c: move most multiple link code to new routines
  270.     link_name() and link_to_maj_min_ino(); use new macro UMASKED_SYMLINK
  271.     instead of symlink(); support for HPUX CDF's.
  272.  
  273.     * extern.h: added arf_hpascii and arf_hpbinary archive enum types;
  274.     added debug_flag.
  275.  
  276.     * global.c: added debug_flag.
  277.  
  278.     * main.c: added debug_flag; support for hpodc and hpbin formats.
  279.  
  280.     * makepath.c: split from standard makpath.c to add support
  281.     for HPUX CDF's.
  282.  
  283.     * mt.c: added !defined(__osf__) (from Andrew Marquis
  284.     <amarquis@genome.wi.mit.edu>).
  285.  
  286.     * system.h: new macro UMASKED_SYMLINK
  287.  
  288.     * tar.c: minor changes to read (slightly broken?) System V.4 posix 
  289.     tar archives and HPUX posix tar archives.
  290.  
  291.     * util.c: HPUX CDF support (including new routines
  292.     add_cdf_double_slashes() and islasparentcdf()); new routine
  293.     umasked_symlink().
  294.  
  295. Sun Mar 14 23:00:14 1993  Jim Meyering  (meyering@comco.com)
  296.  
  297.     * copypass.c (process_copy_pass): Use <=, not just <, when comparing
  298.     mtimes.  From Pieter Bowman <bowman@math.utah.edu>.
  299.  
  300. Fri Jan 15 14:35:37 1993  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  301.  
  302.     * copyin.c: Move include of fnmatch.h to get right FNM* macros.
  303.  
  304. Tue Nov 24 08:45:32 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  305.  
  306.     * Version 2.2.
  307.  
  308.     * copyout.c (process_copy_out): Add parens for gcc -Wall.
  309.     From Jim Meyering.
  310.  
  311.     * system.h: Use HAVE_FCNTL_H, not USG.
  312.  
  313.     * dstring.c, mt.c, system.h: Use HAVE_STRING_H, not USG.
  314.  
  315. Fri Nov 20 22:47:18 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  316.  
  317.     * copyin.c (read_in_binary): Copy the dev and ino that are
  318.     already in `file_hdr' into `short_hdr'.
  319.     From dao@abars.att.com (David A Oshinsky).
  320.  
  321.     * system.h [!_POSIX_VERSION]: Declare lseek as off_t, not long.
  322.     From Karl Berry.
  323.  
  324. Wed Oct 14 13:53:41 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  325.  
  326.     * Version 2.1.
  327.  
  328. Tue Oct 13 22:51:34 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  329.  
  330.     * main.c: Add --swap equivalent to -b.
  331.  
  332.     * mt.c: Add f_force_local variable and -V --version option.
  333.  
  334. Fri Oct  2 18:42:27 1992  David J. MacKenzie  (djm@kropotkin.gnu.ai.mit.edu)
  335.  
  336.     * main.c (long_opts, usage): Add --force-local option.
  337.  
  338. Thu Oct  1 23:23:43 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  339.  
  340.     * main.c (process_args) [__MSDOS__]: Don't call geteuid.
  341.  
  342.     * copyin.c (read_in_{old,new}_ascii): Use `l' for sscanf into longs.
  343.     * copyout.c (write_out_header): Ditto for sprintf.
  344.     * global.c, extern.h: Make input_size and output_size long.
  345.  
  346. Thu Sep 10 23:39:30 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  347.  
  348.     * global.c, extern.h: Add new var f_force_local to work with
  349.     rmt.h change from tar.
  350.  
  351. Sun Aug 23 00:18:20 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  352.  
  353.     * Version 2.0.
  354.  
  355.     * tar.c (otoa): Compute value in an unsigned long, not an int.
  356.     * copyout.c (write_out_header) [__MSDOS__]: Don't use dev_t.
  357.  
  358.     * main.c (process_args): By default, don't chown for non-root users.
  359.  
  360. Sat Aug 22 14:17:54 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  361.  
  362.     * global.c, extern.h: Use uid_t and gid_t.
  363.  
  364.     * main.c (main) [__EMX__]: Expand wildcards.
  365.     * system.h [__EMX__]: Alias some error names.  From Kai Uwe Rommel.
  366.  
  367.     * extern.h [__STDC__]: Use prototypes.
  368.  
  369.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  370.     copypass.c (process_copy_pass): Open all files with O_BINARY.
  371.     Add cast to chmod call.
  372.     * util.c: Add cast to bcopy calls.  Make hash_insert static.
  373.     From Kai Uwe Rommel.
  374.  
  375. Thu Aug 20 22:03:49 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  376.  
  377.     * util.c (peek_in_buf): Don't print "end of file" before
  378.     getting the next reel of medium.
  379.  
  380.     * copyin.c (read_in_old_ascii): Allocate space for NUL terminator.
  381.     Print newline for dot line when done, even if appending.
  382.  
  383. Thu Jul 23 16:34:53 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  384.  
  385.     * tar.c (write_out_tar_header, read_in_tar_header)
  386.     [__MSDOS__]: Don't try to get user and group names.
  387.     * extern.h: Don't declare the functions to do it (need uid_t).
  388.  
  389.     * main.c [__MSDOS__]: Ignore the -R option.
  390.  
  391.     * system.h: Define makedev if defining major and minor.
  392.  
  393.     * copyin.c, copyout.c [__MSDOS__]: setmode on archive_des, not
  394.     0 and 1.
  395.  
  396. Sat Jul 18 14:30:55 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  397.  
  398.     * tar.c, stripslash.c, userspec.c, cpiohdr.h, tar.h, tarhdr.h,
  399.     system.h: New files.
  400.     * Move portability stuff from various files to system.h.
  401.     * cpio.h: Rename header structure and members, and add
  402.     new structure for SVR4 format.
  403.     * copyin.c, copyout.c: Use the new structure internally, the
  404.     old one only for I/O in the old formats.
  405.     * copyin.c (read_in_header): Recognize the new archive formats.
  406.     (read_in_new_ascii, read_pattern_file, skip_padding): New functions.
  407.     (swab_array): Do the swapping using char pointers instead of
  408.     bitwise arithmetic.
  409.     (process_copy_in): Handle byte and halfword swapping and new formats.
  410.     Ok if a directory we want to make already exists, but set its perms.
  411.     Do chmod after chown to fix any set[ug]id bits.
  412.     Use `struct utimbuf' instead of a long array.
  413.     * copyout.c (write_out_header): Handle new formats.
  414.     (process_copy_out): Use `struct utimbuf'.
  415.     Handle appending and new formats.
  416.     Remove any leading `./' from filenames.
  417.     (read_for_checksum, clear_rest_of_block, pad_output): New functions.
  418.     * copypass.c (process_copy_pass): Use `struct utimbuf'.
  419.     Ok if a directory we want to make already exists, but set its perms.
  420.     Do chmod after chown to fix any set[ug]id bits.
  421.     Don't change perms of `.'.
  422.     * extern.h, global.c: Replace the separate format flags with
  423.     one variable.  Add new variables for the new options.
  424.     * main.c: Add new options -A --append, -H --format, -C --io-size,
  425.     -M --message, --no-preserve-owner, -R --owner, -E --pattern-file,
  426.     -V --dot, -s --swap-bytes, -S --swap-halfwords, -b, -I, -k, -O.
  427.     (usage): Document them.
  428.     (process_args): Recognize them.  Use open_archive.
  429.     (initialize_buffers): Allow room for tar archives and double buffers.
  430.     * util.c (empty_output_buffer_swap): New function.
  431.     (empty_output_buffer): Call it if swapping current file.
  432.     Check additional end of media indicators.
  433.     (swahw_array, peek_in_buf, prepare_append, open_archive,
  434.     set_new_media_message): New functions.
  435.     (fill_input_buffer): Don't print error message if end of media.
  436.     (toss_input): Don't seek, always read.
  437.     (copy_files): Update crc if needed.
  438.     (find_inode_file, add_inode): Check major and minor numbers as
  439.     well as dev.
  440.     (get_next_reel): Prompt user if archive name is unknown.
  441.     Print fancy messages.
  442.     Close the archive and reopen it.
  443.  
  444.     Above primarily from John Oleynick <juo@klinzhai.rutgers.edu>.
  445.  
  446.     * util.c (find_inode_file): Use modulus when computing initial
  447.     loop index.
  448.     (add_inode): Zero out new entry.
  449.     From scott@sctc.com (Scott Hammond).
  450.  
  451.     * cpio.h, copyin.c, copyout.c: Rename `struct cpio_header'
  452.     members from h_foo to c_foo.
  453.  
  454. Wed May 20 00:09:26 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  455.  
  456.     * copyin.c:  If we include a header file specifically to get
  457.     major et al., assume we have them.
  458.  
  459. Mon Mar  9 19:29:20 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  460.  
  461.     * mt.c (main): rmtclose the tape file descriptor.
  462.  
  463.     * main.c (main): rmtclose the archive, if not in copy-pass mode.
  464.  
  465.     * util.c (create_all_directories): Don't print a message when
  466.     creating a directory, for UNIX compat.
  467.  
  468.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  469.     Skip file if it has the same timestamp as existing file, not just
  470.     if it is older than existing file, for UNIX compat.
  471.  
  472. Tue Mar  3 12:06:58 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  473.  
  474.     * main.c, mt.c (usage): Document long options as starting with
  475.     -- instead of +.
  476.  
  477.     * extern.h: Only declare lseek if not _POSIX_VERSION.
  478.  
  479. Tue Dec 24 00:19:45 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  480.  
  481.     * copyin.c: Use MAJOR_IN_MKDEV and MAJOR_IN_SYSMACROS instead
  482.     of USG and _POSIX_VERSION to find major and minor macros.
  483.  
  484.     * mt.c: Use unistd.h and stdlib.h if available.
  485.  
  486.     * copyin.c, copyout.c, copypass.c, util.c, extern.h: Change
  487.     POSIX ifdefs to HAVE_UNISTD_H and _POSIX_VERSION.
  488.  
  489. Sun Aug 25 06:31:08 1991  David J. MacKenzie  (djm at apple-gunkies)
  490.  
  491.     * Version 1.5.
  492.  
  493.     * bcopy.c: New file (moved from util.c).
  494.  
  495.     * mt.c (print_status): Not all hpux machines have mt_fileno
  496.     and mt_blkno; rather than trying to track HP's product line,
  497.     just assume none of them have them.
  498.  
  499.     * util.c (copy_buf_out, copy_in_buf): Use more efficient
  500.     copying technique for a big speedup.
  501.  
  502. Fri Aug  2 04:06:45 1991  David J. MacKenzie  (djm at apple-gunkies)
  503.  
  504.     * configure: Support +srcdir.  Create config.status.
  505.     Remove it and Makefile if interrupted while creating them.
  506.  
  507. Thu Jul 18 09:43:40 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  508.  
  509.     * Many files: use __MSDOS__ instead of MSDOS.
  510.  
  511.     * util.c, configure: Use NO_MTIO instead of HAVE_MTIO, to keep
  512.     up with tar and rtapelib.c.
  513.  
  514. Mon Jul 15 13:45:30 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  515.  
  516.     * configure: Also look in sys/signal.h for signal decl.
  517.  
  518. Thu Jul 11 01:50:32 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  519.  
  520.     * Version 1.4.
  521.  
  522.     * configure: Remove /etc and /usr/etc from PATH to avoid
  523.     finding /etc/install.
  524.  
  525. Wed Jul 10 01:40:07 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  526.  
  527.     * makefile.pc: Rewrite for Turbo C 2.0.
  528.     * util.c [__TURBOC__] (utime): New function.
  529.     * alloca.c, tcexparg.c: New files.
  530.  
  531.     * extern.h [STDC_HEADERS]: Don't declare malloc and realloc.
  532.  
  533.     * main.c [MSDOS]: Make binary mode the default.
  534.     * copyin.c, copyout.c: Make stdin or stdout binary mode as
  535.     appropriate (so cpio archives don't get corrupted).
  536.  
  537.     * Many files: Use <string.h> if STDC_HEADERS as well as if USG.
  538.  
  539.     * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
  540.     $(INSTALLTEXT) -> $(INSTALLDATA).
  541.  
  542. Mon Jul  8 23:18:28 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  543.  
  544.     * configure: For some library functions that might be missing,
  545.     conditionally add the .o files to Makefile instead of
  546.     defining func_MISSING.
  547.     * mkdir.c: Renamed from mkrmdir.c.
  548.  
  549. Sat Jul  6 02:27:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  550.  
  551.     * configure: echo messages to stdout, not stderr.
  552.     Use a test program to see if alloca needs -lPW.
  553.  
  554. Thu Jun 27 16:15:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  555.  
  556.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  557.     copypass.c (process_copy_pass): Check close return value for
  558.     delayed error notification because of NFS.
  559.  
  560. Thu Jun 20 02:43:33 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  561.  
  562.     * configure: Include $DEFS when compiling test programs.
  563.  
  564.     * util.c: Only declare getpwuid and getgrgid if not POSIX.
  565.  
  566.     * Version 1.3.
  567.  
  568.     * copyin.c: Use time_t, not long, for time values.
  569.  
  570.     * mt.c (print_status): Special cases for HP-UX and Ultrix.
  571.  
  572.     * util.c: Compile bcopy if USG or STDC_HEADERS, not BCOPY_MISSING.
  573.  
  574. Tue Jun 11 16:40:02 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  575.  
  576.     * copyin.c: Don't include sys/sysmacros.h if _POSIX_SOURCE.
  577.  
  578.     * copyin.c, copyout.c, copypass.c: Don't include sys/file.h if POSIX.
  579.  
  580.     * util.c: Include sys/types.h before, not after, pwd.h and grp.h.
  581.  
  582.     * configure: New shell script to aid configuration and create
  583.     Makefile from Makefile.in.
  584.  
  585.     * copyin.c (process_copy_in): Use POSIX.2 fnmatch instead of
  586.     glob_match. 
  587.  
  588. Mon Jun 10 22:11:19 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  589.  
  590.     * global.c, extern.h: New variable, name_end.
  591.     * main.c (process_args, usage): Add -0 +null option to set it.
  592.     * copypass.c (process_copy_pass), copyout.c (process_copy_out): 
  593.     Use it.
  594.  
  595.     * dstring.c (ds_fgetstr): New function made from ds_fgets.
  596.     (ds_fgets, ds_fgetname): Implement as front ends to ds_fgetstr.
  597.  
  598. Sun Jun  2 15:45:24 1991  David J. MacKenzie  (djm at wheat-chex)
  599.  
  600.     * most files: use GPL version 2.
  601.  
  602. Sat May 18 11:39:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  603.  
  604.     * copyin.c, copypass.c: Take out #ifdef MSDOS around chown.
  605.     * util.c [MSDOS]: Provide dummy chown.
  606.  
  607. Fri May 17 21:29:05 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  608.  
  609.     * Version 1.2.
  610.  
  611.     * makefile.pc, cpio.cs: Update for new source and object files.
  612.  
  613. Fri Mar 15 05:48:36 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  614.  
  615.     * global.c, extern.h: New variable `archive_desc'.
  616.     * main.c (process_args): Set it.
  617.     * copyout.c (process_copy_out), copyin.c (process_copy_in):
  618.     Use it.
  619.  
  620.     * copyout.c (process_copy_out), copyin.c (process_copy_in):
  621.     Remote tapes are special and not seekable; don't fstat them.
  622.  
  623.     * main.c (main, usage): Add -F, +file option.  Use rmtopen.
  624.     (main): Exit after printing version number.
  625.     * util.c (empty_output_buffer): Use rmtwrite instead of write.
  626.     (fill_input_buffer): Use rmtread instead of read.
  627.     (tape_offline): Use rmtioctl instead of ioctl.
  628.     Test HAVE_MTIO instead of MTIO_MISSING, for tar compatibility.
  629.  
  630. Thu Mar 14 17:49:57 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  631.  
  632.     * util.c (create_all_directories): Use make_path to do the work.
  633.  
  634. Sat Jan 12 15:32:15 1991  David J. MacKenzie  (djm at geech.ai.mit.edu)
  635.  
  636.     * copyin.c, copyout.c, copypass.c, util.c: Only declare
  637.     `errno' if not MSDOS.  Some Unix errno.h do, some don't . . . .
  638.  
  639.     * global.c, extern.h: Make `input_size' and `output_size'
  640.     unsigned, for 16 bit machines.
  641.  
  642.     * copyin.c (print_name_with_quoting): All non-ctrl chars are
  643.     printable on MS-DOS.
  644.  
  645.     * util.c (empty_output_buffer): Never make sparse files;
  646.     can create unrunnable executables.
  647.     * copyin.c, copyout.c, copypass.c: Callers changed.
  648.     * util.c (finish_output_file): Function removed.
  649.  
  650. Tue Nov  6 15:47:16 1990  David J. MacKenzie  (djm at apple-gunkies)
  651.  
  652.     * copyin.c, util.c, extern.h: Rename copystring to xstrdup.
  653.  
  654. Mon Oct 29 02:24:41 1990  David J. MacKenzie  (djm at apple-gunkies)
  655.  
  656.     * util.c (empty_output_buffer): Only make sparse files if
  657.     NO_SPARSE_FILES is undefined, to accomodate dumb kernels.
  658.  
  659. Wed Jul 25 18:48:35 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  660.  
  661.     * util.c (getuser, getgroup): Make uid and gid unsigned short,
  662.     not int.
  663.  
  664. Sat Jul 21 00:44:44 1990  David J. MacKenzie  (djm at apple-gunkies)
  665.  
  666.     * copyin.c, copyout.c, copypass.c, util.c, cpio.h: Add ifdefs
  667.     for MSDOS.
  668.  
  669. Sun Jul 15 23:51:48 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  670.  
  671.     * copyin.c, copyout.c, copypass.c, global.c, extern.h, util.c:
  672.     Use longs where appropriate, for 16 bit machines.
  673.  
  674. Sun Jul  8 22:58:06 1990  David J. MacKenzie  (djm at apple-gunkies)
  675.  
  676.     * main.c (process_args, usage): Change -b option to -O (old), to
  677.     allow adding byte swapping later.
  678.  
  679. Sat Jul  7 14:48:35 1990  David J. MacKenzie  (dave at edfmd)
  680.  
  681.     * Version 1.1.
  682.  
  683.     * cpio.h: Make `mtime' and `filesize' unsigned long.
  684.     * copyin.c (read_in_binary), copyout.c (write_out_header):
  685.     High short-word of `mtime' and `filesize' always comes first.
  686.  
  687.     * (read_in_ascii, read_in_binary): New functions, from code in
  688.     read_in_header. 
  689.     (read_in_header): Search for valid magic number, then fill in
  690.     rest of header using read_in_ascii and read_in_binary.
  691.     * global.c, extern.h: New variable, `binary_flag'.
  692.     * main.c (process_args): Recognize new -b +binary option.
  693.     * util.c [BCOPY_MISSING] (bcopy): New function.
  694.  
  695. Wed Jul  4 00:40:58 1990  David J. MacKenzie  (djm at apple-gunkies)
  696.  
  697.     * main.c (process_args): Add local pointers to functions to
  698.     work around a pcc bug found on a Convex.
  699.  
  700.     * copyin.c (process_copy_in), util.c (toss_input,
  701.     create_all_directories, add_inode): Don't use `index' as a
  702.     variable name. 
  703.  
  704. Tue Jul  3 02:33:36 1990  David J. MacKenzie  (djm at apple-gunkies)
  705.  
  706.     * version 1.0.
  707.  
  708. Mon Jul  2 23:18:56 1990  David J. MacKenzie  (djm at twiddle)
  709.  
  710.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  711.     copypass.c (process_copy_pass): Print "1 block", not "1 blocks".
  712.  
  713.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  714.     Unlink existing dest. file unless either it is newer and
  715.     not unconditional, or it is a directory.
  716.  
  717. Mon Jul  2 03:57:41 1990  David J. MacKenzie  (dave at edfmd)
  718.  
  719.     * util.c (xrealloc): New function.
  720.     * dstring.c (ds_resize): Use xrealloc instead of free and
  721.     xmalloc.  Never shrink the string.
  722.  
  723.     * copypass.c (process_copy_pass): More efficient
  724.     string handling while constructing output filename.
  725.  
  726.     * global.c, extern.h, main.c, cpio.h: Change from an enum,
  727.     `copy_command', to a pointer to a void function, `copy_function'.
  728.  
  729.     * cpio.h (struct cpio_header): Make most fields unsigned.
  730.     Rename h_filesize to h_filesizes and h_mtime to h_mtimes, and
  731.     add new `long' fields with the old names at the end of the
  732.     structure.
  733.     * copyin.c (read_in_header): Set the long fields from the
  734.     short arrays, making sure longs are aligned properly.
  735.     (process_copy_in, long_format): Use the long fields.
  736.     * copyout.c (write_out_header): Set the short arrays from the
  737.     long fields, making sure longs are aligned properly.
  738.     (process_copy_out): Use the long fields.
  739.  
  740.     * global.c, extern.h: New variable `output_is_seekable'.
  741.     * util.c (empty_output_buffer): If output_is_seekable, use
  742.     lseek to write blocks of zeros.
  743.     (finish_output_file): New function.
  744.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  745.     copypass.c (process_copy_pass): Set `output_is_seekable'
  746.     correctly and call finish_output_file.
  747.     * main.c (initialize_buffers): Allocate space for sentinel in
  748.     `output_buffer'. 
  749.  
  750.     * global.c, extern.h: New variable `numeric_uid'.
  751.     * main.c (process_args): Accept -n +numeric-uid-gid option, like ls.
  752.     * copyin.c (long_format): Use numeric_uid.
  753.  
  754.     * copyin.c (process_copy_in), copyout.c (process_copy_out),
  755.     copypass.c (process_copy_pass): Don't (for verbose) print the
  756.     names of files that are not copied because of errors.  Try to
  757.     create missing directories for all file types.  Free temporary
  758.     buffers on error.
  759.  
  760. Sat Jun 30 14:28:45 1990  David J. MacKenzie  (djm at apple-gunkies)
  761.  
  762.     * version.c: New file.
  763.     * main.c: Add -V, +version option.
  764.     * Makefile [dist]: Extract version number from version.c.
  765.  
  766. Sat Jun 30 12:44:47 1990  David J. MacKenzie  (dave at edfmd)
  767.  
  768.     * global.c, extern.h, copyin.c, copyout.c, util.c: Rename
  769.     `{input,output}_is_regular' to `{input,output}_is_special' and
  770.     reverse the truth value. 
  771.  
  772.     * global.c, extern.h: New variable `input_is_seekable' to
  773.     control whether to skip data with lseek or read. 
  774.     * copyin.c (process_copy_in): Set it.
  775.     * util.c (toss_input): Use it.
  776.  
  777.     * global.c, extern.h: New variable `xstat' that selects stat
  778.     or lstat for input files.
  779.     * main.c (process_args): New option -L, +dereference to set
  780.     xstat to stat instead of lstat.
  781.     (usage): Document it.
  782.     * copyout.c (process_copy_out), copypass.c
  783.     (process_copy_pass): Use *xstat on input file.
  784.  
  785. Sat Jun 30 01:53:12 1990  David J. MacKenzie  (dave at edfmd)
  786.  
  787.     * dstring.c (ds_init): Return void because return value was
  788.     never used. 
  789.     (ds_resize): Ditto, and free old value instead of new one.
  790.  
  791.     * util.c (empty_output_buffer, fill_input_buffer,
  792.     copy_out_buf, copy_in_buf, toss_input, copy_files): Return
  793.     void instead of an error value and make errors fatal
  794.     immediately instead of several levels up, to prevent printing
  795.     of multiple error messages by different levels of functions.
  796.  
  797.     * copyin.c (read_in_header): Return void, because the error
  798.     handling all happens at lower levels.
  799.     (print_name_with_quoting): New function.
  800.     (long_format): Call print_name_with_quoting.  Take additional
  801.     arg for name of linked-to file, and print it if nonzero.
  802.     (process_copy_in): For verbose listing of symlinks, read in
  803.     the linkname and pass it to long_format.
  804.  
  805.     * extern.h: Declare some more functions.
  806.  
  807. Thu Jun 28 16:07:15 1990  David J. MacKenzie  (dave at edfmd)
  808.  
  809.     * copypass.c (process_copy_pass): Warn about unknown file types.
  810.  
  811.     * copyout.c (process_copy_out): Check fstat return for error.
  812.     Record filesize of 0 for special files.  Warn about unknown
  813.     file types.
  814.  
  815.     * copyin.c (process_copy_in): Warn about unknown file types.
  816.     (read_in_header): Warn about byte-reversed binary headers.
  817.  
  818. Sat Jun 23 22:50:45 1990  David J. MacKenzie  (dave at edfmd)
  819.  
  820.     * main.c (main): Set umask to 0 so permissions of created
  821.     files are preserved. 
  822.  
  823.     * copyin.c, copyout.c, copypass.c, util.c: Pass file
  824.     descriptors as ints, not pointers to ints. 
  825.     Cast file timestamps and sizes to long *, not int *, for 16
  826.     bit machines.
  827.     Use lstat instead of stat, if available.
  828.     Handle FIFO's, sockets, and symlinks, if supported by O.S.
  829.  
  830.     * copyin.c (process_copy_in), copyout.c (process_copy_out):
  831.     Don't consider FIFO'S, sockets, etc. to be possible tape drives.
  832.  
  833.     * util.c (create_all_directories): Fix incorrect loop
  834.     termination check.  Only copy string if it contains slashes.
  835.     Don't check whether directory "" exists.
  836.     (tape_offline): Code moved from get_next_reel.
  837.     (get_next_reel): Print message before taking tape offline.
  838.     Read a line of arbitrary length.
  839.  
  840.     * copyout.c, copyin.c, copypass.c: Always use utime, not utimes.
  841.  
  842.     * copyin.c (swab_short): New macro.
  843.     (swab_array): New function.
  844.     (read_in_header): In binary mode, if a byte-swapped header is
  845.     read, swap the bytes back.
  846.     (process_copy_in, process_copy_pass): Don't stat each file to
  847.     create unless !unconditional_flag.  Create device files correctly.
  848.     Don't temporarily allow files being created to be read by
  849.     other users.  Don't unnecessarily chmod special files.
  850.  
  851. Thu May 31 20:51:43 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  852.  
  853.     * copyin.c (long_format): Use mode_string to format
  854.     file protections instead of doing it ourselves.
  855.     (protections): Function removed.
  856.  
  857. Sat Apr 14 02:31:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  858.  
  859.     * cpio.h (struct cpio_header): Make inode, mode, uid, gid
  860.     fields unsigned. 
  861.  
  862.     * util.c (getgroup): New function.
  863.     * copyin.c (long_format): Print group name of files.
  864.     Print file size, etc. as unsigned integers, not signed.
  865.  
  866.     * main.c (process_args): If -t is given and neither -i, -o, or
  867.     -p is given, assume -i.
  868.  
  869.     * Add -f, +nonmatching option.
  870.     * main.c: Rename +out to +create, +in to +extract,
  871.     +modification-time to +preserve-modification-time,
  872.     +pass to +pass-through.
  873.  
  874.     * copyin.c (process_copy_in), copypass.c (process_copy_pass):
  875.     Don't complain in chown fails because the user doesn't have
  876.     permission. 
  877.  
  878. Fri Apr 13 13:53:20 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  879.  
  880.     * Add ifdefs for USG/Xenix.
  881.     * util.c (cpio_error): Function removed.
  882.     * Use error instead of cpio_error, so system error messages
  883.     will be included.
  884.     * cpio.h: Rename 'hdr_struct' to 'struct cpio_header'.
  885.     * Move definition of xmalloc from dstring.c to util.c.
  886.     * global.c, extern.c: Add global `program_name'.
  887.     * main.c (main): Set program_name.
  888.     (process_args): Rename +reset-atime to +reset-access-time,
  889.     +table to +list.
  890.     Have +block-size take an argument.
  891.  
  892. Thu Apr 12 13:33:32 1990  David J. MacKenzie  (djm at rice-chex)
  893.  
  894.     * util.c (find_inode_file): Make inode an int, not a short.
  895.  
  896.     * Make functions that don't return a value have type void.
  897.     Add some casts to function calls.
  898.  
  899. Wed Apr 11 14:55:28 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  900.  
  901.     * main.c (process_args): -i, -o, and -p don't take arguments.
  902.  
  903.     * main.c (process_args): Get the non-option args from the
  904.     correct elements of argv.
  905.  
  906. Tue Apr 10 00:20:26 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  907.  
  908.     * Indent source code and update copyrights.
  909.  
  910.     * cpio.c (usage): Change `collection' to `archive' in message.
  911.  
  912. Thu Dec 28 03:03:55 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  913.  
  914.     * dstring.c (xmalloc): Don't return a null pointer if size is 0,
  915.     on the assumption that trying to allocate 0 bytes is a bug that
  916.     should be trapped.
  917.  
  918. Wed Dec 20 03:24:48 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  919.  
  920.     * All files: Change from GNU CPIO General Public License to
  921.     GNU General Public License.
  922.  
  923. Mon Dec 18 13:18:36 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  924.  
  925.     * Makefile: Add clean target and defines for CC and LDFLAGS.
  926.     Add dist target and SRCS, DISTFILES macros.  Add tags and TAGS targets.
  927.     * dstring.c (ds_fgets): Read characters into an int, not char.
  928.     (xmalloc): New function.
  929.     (out_of_memory): Function removed.
  930.     Global: use xmalloc instead of malloc and out_of_memory.
  931.     * extern.h, global.c: Make flag variables ints instead of chars for
  932.     compatibility with getopt_long.
  933.     * extern.h: Declare more functions.
  934.     * main.c (usage): Put the whole usage message into a single string
  935.     and fix errors.
  936.     * util.c (create_all_directories): Remove unused variable.
  937.     (get_next_reel): Ditto.
  938.     * dstring.h: Declare function.
  939.  
  940. Sat Dec  2 13:22:37 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  941.  
  942.     * main.c: Change +copy-pass option to +pass, +copy-in to +in,
  943.     +copy-out to +out, and +mkdir to +make-directories, and add null
  944.     option to terminate table.
  945.     (process_args): Use the same code to handle long and short named 
  946.     options.
  947.     (usage): Mention long options in message.
  948.  
  949. Local Variables:
  950. mode: indented-text
  951. left-margin: 8
  952. version-control: never
  953. End:
  954.